<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/public/common.jspf" %>
<html>
<head>
	<title>个人信息管理系统</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<!-- Bootstrap 
	<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
	<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet" />

	<link href="http://fonts.googleapis.com/css?family=Abel|Open+Sans:400,600" rel="stylesheet" />-->
	
	<link rel="stylesheet" href="${pageContext.request.contextPath}/style/css/center.css"> 
</head>
<body>

<%-- <s:debug></s:debug> --%>
	<div class="container">
		<div class="row">
			<div class="col-md-6 col-md-offset-3 panel panel-default">

				<h1 class="margin-base-vertical">欢迎使用个人信息管理系统</h1>		
				<p style="color: green;"><s:actionmessage/></p>
				${loginNotSession}
				
				<s:form action="loginAndLogoutAction_login"  class="margin-base-vertical">
					<p class="input-group">
						<span class="input-group-addon"><span class="icon-envelope"></span></span>
						<input type="text" class="form-control input-lg" name="loginName" placeholder="请输入用户名" value="${loginName }" />
						 <s:fielderror cssStyle="color:red;" fieldName="eusername"/>
					</p>
		
					<p class="input-group">
						<span class="input-group-addon"><span class="icon-envelope"></span></span>
						<input type="password"  class="form-control input-lg" name="loginPwd" placeholder="请输入密码" value="${loginPwd }"/>
						<s:fielderror cssStyle="color:red;" fieldName="epassword" />
					</p>
					<p class="help-block text-center"><small> <s:actionerror cssStyle="color:red;"/></small></p>
					<p class="text-center">
						<button type="submit" class="btn btn-success btn-lg">登陆</button>
					</p>
					<p class="text-center">
						<a href="${pageContext.request.contextPath }/register.jsp"  class="btn btn-info btn-lg">注册</a>
					</p>
				</s:form>


			</div><!-- //main content -->
		</div><!-- //row -->
	</div> <!-- //container -->

</body>
</html>
